Skip to content

Commit da8f43f

Browse files
committed
Update composer laravel/tinker dependency
1 parent 4ff5ea5 commit da8f43f

File tree

4 files changed

+12
-20
lines changed

4 files changed

+12
-20
lines changed

composer.json

+5-8
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"name": "intonate/tinker-zero",
33
"description": "Use laravel/tinker on your laravel-zero applications",
44
"keywords": ["tinker", "tinker-zero", "repl", "psysh", "laravel", "laravel-zero"],
5-
"type": "library",
6-
"version": "1.0.0",
75
"license": "MIT",
86
"homepage": "https://github.com/laravel/tinker#readme",
97
"support": {
@@ -17,12 +15,12 @@
1715
}
1816
],
1917
"require": {
20-
"php": ">=7.0.0",
21-
"laravel/tinker": "~1.0"
18+
"php": "^7.2.5",
19+
"laravel/tinker": "^1.0|^2.0"
2220
},
2321
"require-dev": {
24-
"orchestra/testbench": "~3.5",
25-
"phpunit/phpunit": "~6.0"
22+
"orchestra/testbench": "^4.0",
23+
"phpunit/phpunit": "^8.4"
2624
},
2725
"autoload": {
2826
"psr-4": {
@@ -43,9 +41,8 @@
4341
},
4442
"config": {
4543
"optimize-autoloader": true,
46-
"preferred-install": "dist",
4744
"sort-packages": true
4845
},
49-
"minimum-stability": "stable",
46+
"minimum-stability": "dev",
5047
"prefer-stable": true
5148
}

phpunit.xml

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
beStrictAboutTestsThatDoNotTestAnything="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
54
bootstrap="vendor/autoload.php"
6-
colors="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false"
12-
syntaxCheck="false">
5+
colors="true">
136
<testsuites>
147
<testsuite name="Unit">
158
<directory suffix=".php">./tests</directory>

src/Console/TinkerZeroCommand.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TinkerZeroCommand extends TinkerCommand
1414
*
1515
* @override \Laravel\Tinker\Console\TinkerCommand
1616
*
17-
* @return void
17+
* @return int
1818
*/
1919
public function handle()
2020
{
@@ -31,6 +31,8 @@ public function handle()
3131
} finally {
3232
$loader->unregister();
3333
}
34+
35+
return 0;
3436
}
3537

3638
/**

tests/TinkerZeroServiceProviderTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class TinkerZeroServiceProviderTest extends TestCase
1818
*
1919
* @return void
2020
*/
21-
public function setUp()
21+
public function setUp(): void
2222
{
2323
parent::setUp();
2424

0 commit comments

Comments
 (0)