Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 0 additions & 119 deletions .composer-require-checker.config.json

This file was deleted.

2 changes: 2 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
'cast_spaces' => ['space' => 'none'],
'single_line_empty_body' => false,
'no_unused_imports' => true,
// spaces around multiple catch types only, as phpcs expects - https://mlocati.github.io/php-cs-fixer-configurator/#version:3.90|fixer:types_spaces
'types_spaces' => ['space' => 'none', 'space_multiple_catch' => 'single'],
// rules for phpdoc
// Removes @param, @return and @var tags that don't provide any useful information - https://mlocati.github.io/php-cs-fixer-configurator/#version:3.90|fixer:no_superfluous_phpdoc_tags
'no_superfluous_phpdoc_tags' => [
Expand Down
173 changes: 0 additions & 173 deletions .scrutinizer.yml

This file was deleted.

11 changes: 0 additions & 11 deletions _routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@
return $handler->handle($request);
};

/*$app->addMiddleware(function (\Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Server\RequestHandlerInterface $handler) use ($container) {
//check if JS has been generated
if (!file_exists(__DIR__ . '/webroot/maps-main.bundle.min.js')) {
$container->get('flash')->addMessageNow(
'error_detected',
_T('Javascript libraries has not been built!', 'maps')
);
}
return $handler->handle($request);
});*/

$app->get(
'/localize-member/{id:\d+}',
[MapsController::class, 'localizeMember']
Expand Down
3 changes: 0 additions & 3 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -410,13 +410,10 @@ def add_libs(rel_name, galette_archive):
# development only, nothing a Galette installation needs — the npm sources
# included, the build output is what ships
todrop = [
'.composer-require-checker.config.json',
'.docheader',
'.gitignore',
'.php-cs-fixer.dist.php',
'.phpcs.xml',
'.scrutinizer.yml',
'composer.json.checker',
'gulpfile.js',
'package.json',
'package-lock.json',
Expand Down
Loading
Loading