Jori Stein
e4f5b92485
[4.x] Update commands CLI outputs ( #968 )
...
* Using laravel components
* Ensure commands returns success
* update tests
* clean
* bump EndBug version
* Update ci.yml
* Update ci.yml
* Update ci.yml
* revert CI changes
* Update ci.yml
* Update ci.yml
* Update ci.yml
* revert CI changes to it's original state
* fix typos, improve code
* improve Install & TenantList commands
* php-cs-fixer
* type GitHub properly
Co-authored-by: Abrar Ahmad <abrar.dev99@gmail.com>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2022-10-18 19:11:57 +02:00
Samuel Štancl
f98a901aeb
get down to 21 phpstan errors
2022-09-29 23:39:35 +02:00
Samuel Štancl
87212e5390
phpstan, global_cache, resolver improvements, InitializationHelpers trait
2022-09-29 02:47:13 +02:00
Abrar Ahmad
409190fae1
[4.x] Improve tenants:run command to execute Input\Output commands ( #923 )
...
* run command useable for questions asking commands
* move console classes to Console directory
* fix styling
* Update src/Commands/Run.php
Co-authored-by: Samuel Štancl <samuel@archte.ch>
* remove tenant migration line
* assert command executed in tenant context
* improve test
* cleanup code
* Update CommandsTest.php
* remove irrelevant assertions
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2022-09-02 18:46:13 +02:00
PHP CS Fixer
db4a795c3e
Fix code style (php-cs-fixer)
2022-08-04 18:30:06 +00:00
Abrar Ahmad
a45aa8e274
Improve tenants:run command ( #912 )
...
* improve `tenants:run` command
* Update Run.php
2022-08-04 20:29:39 +02:00
Abrar Ahmad
97ab483173
Completing PR #881 ( #902 )
...
* install PHP CS Fixer
* Fix styling
* remove StyleCI config
* use config from archtechx/template
* Fix styling
* added `php-cs-fixer`
* Update .php-cs-fixer.php
* added GitHub token
* Update ci.yml
* Update ci.yml
* Update ci.yml
* php-cs-fixer workflow same as template
Co-authored-by: Erik Gaal <me@erikgaal.nl>
Co-authored-by: erikgaal <erikgaal@users.noreply.github.com>
2022-07-20 15:28:45 +02:00
Jori Stein
f08e33afd8
Remove redondant initialization ( #775 )
2022-01-06 21:35:56 +01:00
sort72
08bfd6f9bb
Use tenant key on console commands instead of id ( #768 )
2021-12-25 15:24:34 +01:00
Dylan Harbour
e0af2e9945
Fix issue 521: Array input for --tenants ( #522 )
...
* Fix issue 521: Array input for `--tenants`
Tenancy for Laravel docs refer to using multiple `--tenants=<...> ` options when running a command for multiple tenants explicitly: https://tenancyforlaravel.com/docs/v3/console-commands
However, the command input is not defined correctly to receive arrays.
https://laravel.com/docs/7.x/artisan#input-arrays
This PR adds a failing test, fixes the issue and corrects a typo in the contributing readme.
* Styleci
Co-authored-by: Dylan Harbour <dylanh@ringier.co.za>
2020-11-12 14:08:37 +01:00
Samuel Štancl
89936187ce
Rewrite old tests
2020-05-12 23:22:40 +02:00
Samuel Štancl
553b162930
Clean endTenancy() calls at the end of commands
2019-09-27 22:57:10 +02:00
Samuel Štancl
c9903cd43c
Clean up
2019-09-19 20:32:09 +02:00
Samuel Štancl
1532ccf019
Fix some tests
2019-09-16 16:57:55 +02:00
Samuel Štancl
79f912384b
uuid -> id (references in code)
2019-09-15 22:52:31 +02:00
Samuel Štancl
2fd3662eb7
[1.8.0] Use strict types ( #115 )
...
* Use strict types
* Apply fixes from StyleCI
* Fix str_repeat
* Fix false json decode
2019-08-23 18:18:26 +02:00
stancl
84890cdd1e
Apply fixes from StyleCI
2019-08-16 16:21:59 +00:00
Samuel Štancl
15f09e59df
[1.7.0] Add tenants:run ( #81 )
...
* wip
* Apply fixes from StyleCI
* first implementation
* Apply fixes from StyleCI
* Add support for arguments and options
* Apply fixes from StyleCI
* Write docs, add support for = in arg/opt value
* Apply fixes from StyleCI
* add $ [ci skip]
2019-08-09 19:06:00 +02:00