Skip to content

Commit

Permalink
Remove symfony/dotenv from dependencies & refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Invis1ble committed Jun 4, 2024
1 parent d9feac3 commit da15bd1
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 22 deletions.
Empty file removed .env
Empty file.
2 changes: 0 additions & 2 deletions .env.test

This file was deleted.

3 changes: 0 additions & 3 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
'var',
'vendor',
])
->notPath([
'tests/bootstrap.php',
])
->in(__DIR__)
;

Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
"matthiasnoback/symfony-dependency-injection-test": "^5.0",
"rector/rector": "dev-main",
"symfony/framework-bundle": "<=7.0.7",
"symfony/test-pack": "^1.0",
"symfony/dotenv": "7.2.x-dev"
"symfony/test-pack": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 0 additions & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<rule ref="Generic.PHP.RequireStrictTypes" />

<exclude-pattern>/config/bundles.php</exclude-pattern>
<exclude-pattern>/tests/bootstrap.php</exclude-pattern>
<exclude-pattern>/var/*</exclude-pattern>
<exclude-pattern>/vendor/*</exclude-pattern>

Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
bootstrap="tests/bootstrap.php"
>

<php>
<env name="KERNEL_CLASS" value="Invis1ble\SerializerExtensionBundle\Kernel" />
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
Expand Down
13 changes: 0 additions & 13 deletions tests/bootstrap.php

This file was deleted.

0 comments on commit da15bd1

Please sign in to comment.