Skip to content

Commit

Permalink
chore(dependencies): upgraded phpstan banned code and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreEkino committed Jul 20, 2020
1 parent 14e84f2 commit a6faa48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/vendor/
.php_cs.cache
composer.lock
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ master
* CI: add php version 7.4 at nightly
* Upgrade symfony/framework-bundle version to fix security issue
* Adapted ImmutableTabsType and its test class to new Sonata form component (fixed namespace and inheritance)
* Upgraded ekino/phpstan-banned-code to 0.3 and upgraded its dependencies

v0.0.1
------
Expand Down
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@
"symfony/framework-bundle": "^3.4 || ^4.4"
},
"require-dev": {
"ekino/phpstan-banned-code": "^0.2",
"ekino/phpstan-banned-code": "^0.3",
"friendsofphp/php-cs-fixer": "^2.16",
"phpstan/phpstan-phpunit": "^0.11",
"localheinz/composer-normalize": "^1.3",
"phpstan/phpstan-phpunit": "^0.12",
"phpunit/phpunit": "^7.2",
"sensiolabs/security-checker": "^5.0",
"symfony/phpunit-bridge": "^5.0.3"
"symfony/phpunit-bridge": "^5.0.3",
"symfony/var-dumper": "^4.3"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 0 additions & 1 deletion src/Controller/PageAdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public function composeContainerShowAction(Request $request = null): Response
$blockServices = $this->blockServiceManager->getServicesByContext('sonata_page_bundle', false);

// Filter service using the template configuration
/** @var Page $page */
if ($page = $block->getPage()) {
$template = $this->templateManager->get($page->getTemplateCode());
$container = $template->getContainer($block->getSetting('code'));
Expand Down

0 comments on commit a6faa48

Please sign in to comment.