Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added strict typing in tests declare(strict_types=1);. #1

Merged
merged 2 commits into from
Oct 20, 2023
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ URL-адрес `/employee/100` и абсолютный `http://mydomain.ru/emplo
Запустите команду

```
php composer require vinogradsoft/navigator "^1.0.0"
php composer require vinogradsoft/navigator "^1.0"
```

Требуется PHP 8.0 или новее.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"email": "[email protected]"
}
],
"version": "1.0.0",
"version": "1.0.1",
"minimum-stability": "stable",
"require": {
"php": ">=8.0",
"vinogradsoft/compass": "^1.0",
"vinogradsoft/compass": "^1.1",
"nikic/fast-route": "^1.3",
"ext-intl": "*"
},
Expand Down
1 change: 1 addition & 0 deletions tests/Cases/Dummy/ReferralUrlStrategy.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Test\Cases\Dummy;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/ArrayRulesProviderTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Unit;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/FastRouteAdapterTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Unit;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/UrlBuilder/BuildExternalTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Unit\UrlBuilder;

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/UrlBuilder/BuildTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Unit\UrlBuilder;

Expand Down
Loading