Skip to content

Commit

Permalink
Use a shallow tree
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Nov 30, 2024
1 parent dfbaa3c commit 52392c0
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
paths:
- .github/workflows/coding-standards.yml
- composer.*
- lib/**
- src/**
- phpcs.xml.dist
- test_fixtures/**
- tests/**
Expand All @@ -18,7 +18,7 @@ on:
paths:
- .github/workflows/coding-standards.yml
- composer.*
- lib/**
- src/**
- phpcs.xml.dist
- test_fixtures/**
- tests/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
paths:
- .github/workflows/continuous-integration.yml
- composer.*
- lib/**
- src/**
- phpunit.xml.dist
- test_fixtures/**
- tests/**
Expand All @@ -17,7 +17,7 @@ on:
paths:
- .github/workflows/continuous-integration.yml
- composer.*
- lib/**
- src/**
- phpunit.xml.dist
- test_fixtures/**
- tests/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
paths:
- .github/workflows/static-analysis.yml
- composer.*
- lib/**
- src/**
- phpstan*
- psalm*
- test_fixtures/**
Expand All @@ -18,7 +18,7 @@ on:
paths:
- .github/workflows/static-analysis.yml
- composer.*
- lib/**
- src/**
- phpstan*
- psalm*
- test_fixtures/**
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"autoload": {
"psr-4": {
"Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations"
"Doctrine\\Deprecations\\": "src"
}
},
"autoload-dev": {
Expand Down
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<config name="php_version" value="70100"/>

<!-- Directories to be checked -->
<file>lib</file>
<file>src</file>
<file>tests</file>
<file>test_fixtures</file>

Expand Down
4 changes: 2 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
parameters:
level: 9
paths:
- lib
- src
- tests
- test_fixtures
ignoreErrors:
# False positive due to https://github.com/phpstan/phpstan/issues/9384
-
message: '/^Static property Doctrine\\Deprecations\\Deprecation::\$type \(int<0, 7>\|null\) does not accept int\.$/'
path: lib/Doctrine/Deprecations/Deprecation.php
path: src/Deprecation.php

includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
Expand Down
4 changes: 2 additions & 2 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
findUnusedCode="false"
>
<projectFiles>
<directory name="lib/Doctrine/Deprecations" />
<directory name="tests/Doctrine/Deprecations" />
<directory name="src" />
<directory name="tests" />
<directory name="test_fixtures" />
<ignoreFiles>
<directory name="vendor" />
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 52392c0

Please sign in to comment.