Skip to content

Commit

Permalink
Removed test/bootstrap.php. Set handle_all_throwables to false. Chang…
Browse files Browse the repository at this point in the history
…ed annotation to attribute at routing_anno.yml. Removed php-cs-fixer v2
  • Loading branch information
slc committed Dec 11, 2023
1 parent 26196c4 commit 53a679b
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 27 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"symfony/phpunit-bridge": "^5.0|^6.0",
"doctrine/doctrine-bundle": "^2",
"phpunit/phpunit": "^9",
"friendsofphp/php-cs-fixer": "^2.0|^3.0",
"friendsofphp/php-cs-fixer": "^3.0",
"symfony/monolog-bundle": "^3.0|^4.0",
"symfony/browser-kit": "^5.0|^6.0",
"symfony/yaml": "^5.0|^6.0"
Expand Down
28 changes: 13 additions & 15 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true">
<coverage>
<include>
<directory>src</directory>
Expand Down
8 changes: 0 additions & 8 deletions tests/bootstrap.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/config_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ framework:
utf8: true
secret: 'fake_secret'
http_method_override: true
handle_all_throwables: true
handle_all_throwables: false
php_errors:
log: true

Expand Down
2 changes: 1 addition & 1 deletion tests/routing_anno.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ekreative_health_check:
resource: "@EkreativeHealthCheckBundle/Controller/"
type: annotation
type: attribute
prefix: /

0 comments on commit 53a679b

Please sign in to comment.