lukinovec
a346ec450e
Remove tenant ordering
2022-09-30 11:10:03 +02:00
lukinovec
a70b143859
Merge branch 'master' into stein-j-readied-tenant
2022-09-29 10:10:09 +02:00
PHP CS Fixer
dd952c727f
Fix code style (php-cs-fixer)
2022-09-29 08:04:15 +00:00
lukinovec
0ee54da29c
Correct the tenant order in Run command
2022-09-29 10:03:45 +02:00
Samuel Štancl
87212e5390
phpstan, global_cache, resolver improvements, InitializationHelpers trait
2022-09-29 02:47:13 +02:00
PHP CS Fixer
96a05c483c
Fix code style (php-cs-fixer)
2022-09-28 07:49:05 +00:00
lukinovec
b56934674a
Merge branch 'master' into stein-j-readied-tenant
2022-09-28 09:48:24 +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
cc1bc39267
Fix code style (php-cs-fixer)
2022-08-05 13:51:48 +00:00
Abrar Ahmad
478a0d77eb
Merge branch 'master' into stein-j-readied-tenant
2022-08-05 18:50:40 +05: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
lukinovec
60fb9b8e54
Update command that use tenants
2022-07-22 15:10:23 +02:00
lukinovec
095c2e1380
Merge branch 'master' into stein-j-readied-tenant
2022-07-22 09:27:52 +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
j.stein
7bb05873f0
Fix issues
2022-02-12 16:53:23 +01:00
j.stein
0a37eb487a
runForMultiple can scope pending tenants
2022-02-12 15:30:50 +01: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