Skip to content

Commit

Permalink
Allow nette/utils 4.x, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Gappa committed Jan 23, 2023
1 parent ac5fa2c commit 0224bee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"php": "^8.0",
"nette/application": "^3.1",
"nette/di": "^3.0",
"nette/utils": "^3.2",
"nette/utils": "^3.2 || ^4.0",
"ext-json": "*",
"nette/schema": "^1.2",
"nette/finder": "^2.5",
"nette/finder": "^2.5 || ^3.0",
"latte/latte": "^3.0",
"tracy/tracy": "^2.8"
},
Expand All @@ -43,7 +43,7 @@
"nette/component-model": "^3.0",
"nette/http": "^3.0",
"nette/neon": "^3.0",
"nette/robot-loader": "^3.0",
"nette/robot-loader": "^3.0 || ^4.0",
"wikimedia/less.php": "^3.0.0",
"scssphp/scssphp": "^1.1.0",
"mockery/mockery": "1.*",
Expand All @@ -58,8 +58,8 @@
"tedivm/jshrink": "^1.3"
},
"scripts": {
"phpstan": "./phpstan/phpstan",
"tests": "./vendor/bin/phpunit --configuration tests/phpunit.xml tests"
"phpstan": "@php ./vendor/bin/phpstan analyse --configuration ./phpstan/phpstan.neon --memory-limit 512M",
"tests": "@php ./vendor/bin/phpunit --configuration tests/phpunit.xml tests"
},
"config": {
"allow-plugins": {
Expand Down
3 changes: 0 additions & 3 deletions phpstan/phpstan

This file was deleted.

2 changes: 1 addition & 1 deletion src/Nette/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace WebLoader\Nette;

use Nette\Configurator;
use Nette\Bootstrap\Configurator;
use Nette\DI\Compiler;
use Nette\DI\CompilerExtension;
use Nette\DI\ContainerBuilder;
Expand Down
2 changes: 1 addition & 1 deletion tests/Nette/ExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace WebLoader\Test\Nette;

use Nette\Configurator;
use Nette\Bootstrap\Configurator;
use Nette\DI\Compiler;
use Nette\DI\Container;
use Nette\Utils\Finder;
Expand Down

0 comments on commit 0224bee

Please sign in to comment.