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

Use Illuminate\Console\GeneratorCommand for Laravel 10 #8

Merged
merged 38 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
39adc34
wip
crynobone Sep 18, 2023
88e4c4b
wip
crynobone Sep 18, 2023
f2c4ae2
wip
crynobone Sep 18, 2023
45fde05
wip
crynobone Sep 18, 2023
296460b
wip
crynobone Sep 18, 2023
07b7253
wip
crynobone Sep 18, 2023
add1586
wip
crynobone Sep 18, 2023
83fe755
wip
crynobone Sep 18, 2023
8b7d7ee
wip
crynobone Sep 18, 2023
7898d5f
wip
crynobone Sep 18, 2023
02f3d9e
wip
crynobone Sep 18, 2023
93282d4
wip
crynobone Sep 18, 2023
371515c
wip
crynobone Sep 18, 2023
afc0bb6
wip
crynobone Sep 18, 2023
5b38f19
wip
crynobone Sep 18, 2023
08c51a8
wip
crynobone Sep 18, 2023
347115f
wip
crynobone Sep 18, 2023
2f6b4e7
wip
crynobone Sep 18, 2023
bfa837f
wip
crynobone Sep 18, 2023
1f9d6a6
wip
crynobone Sep 18, 2023
a7793d9
wip
crynobone Sep 18, 2023
2607694
wip
crynobone Sep 18, 2023
9193529
wip
crynobone Sep 18, 2023
0058807
wip
crynobone Sep 18, 2023
0c2aae4
wip
crynobone Sep 18, 2023
850fd2d
Merge branch 'illuminate-console' into illuminate-console-8
crynobone Sep 18, 2023
4135ba6
wip
crynobone Sep 18, 2023
b2c4988
Merge branch 'illuminate-console' into illuminate-console-8
crynobone Sep 18, 2023
dd1162e
wip
crynobone Sep 18, 2023
0f1ebb7
wip
crynobone Sep 18, 2023
c918bec
Merge branch 'illuminate-console' into illuminate-console-8
crynobone Sep 18, 2023
94f81f1
wip
crynobone Sep 18, 2023
f5730d5
Merge branch 'illuminate-console' into illuminate-console-8
crynobone Sep 18, 2023
d1cfaaa
wip
crynobone Sep 18, 2023
a2d6b96
wip
crynobone Sep 18, 2023
b339696
Merge branch 'illuminate-console' into illuminate-console-8
crynobone Sep 18, 2023
9cdad61
wip
crynobone Sep 18, 2023
78cffd0
wip
crynobone Sep 18, 2023
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Ignore following folder/file.
/.github export-ignore
/tests export-ignore
/workbench export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/phpstan-baseline.neon export-ignore
Expand Down
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,17 @@
"illuminate/filesystem": "^10.17"
},
"require-dev": {
"fakerphp/faker": "^1.21",
"mockery/mockery": "^1.5.1",
"laravel/framework": "^10.17",
"laravel/pint": "^1.6",
"orchestra/testbench": "^8.9",
"orchestra/testbench-core": "^8.10.2",
"phpstan/phpstan": "^1.10.6",
"phpunit/phpunit": "^10.1"
"phpunit/phpunit": "^10.1",
"symfony/yaml": "^6.2"
},
"conflict": {
"orchestra/canvas": "<8.8.0",
"orchestra/canvas": "<8.9.0",
"orchestra/testbench-core": "<8.2.0"
},
"config": {
Expand Down
8 changes: 4 additions & 4 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Container\\\\Container\\:\\:basePath\\(\\)\\.$#"
message: "#^Cannot access offset 'path' on Illuminate\\\\Contracts\\\\Foundation\\\\Application\\.$#"
count: 1
path: src/LaravelServiceProvider.php
path: src/Commands/GeneratorCommand.php

-
message: "#^Method Orchestra\\\\Canvas\\\\Core\\\\Presets\\\\Preset\\:\\:config\\(\\) has no return type specified\\.$#"
message: "#^Parameter \\#1 \\$app of class Orchestra\\\\Canvas\\\\Core\\\\Presets\\\\Laravel constructor expects Illuminate\\\\Contracts\\\\Foundation\\\\Application, Illuminate\\\\Contracts\\\\Container\\\\Container given\\.$#"
count: 1
path: src/Presets/Preset.php
path: src/PresetManager.php
3 changes: 3 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ parameters:
# The level 8 is the highest level
level: 7

ignoreErrors:
- '#Method [a-zA-Z\\\<\>]+::handle\(\) should return bool\|null but returns int.#'

checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
treatPhpDocTypesAsCertain: false
88 changes: 0 additions & 88 deletions src/CodeGenerator.php

This file was deleted.

109 changes: 0 additions & 109 deletions src/Commands/Command.php

This file was deleted.

Loading