From 113dc5bb82a81484133c2d11ba76f88fd3c036fe Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Fri, 27 Oct 2023 12:53:10 -0700 Subject: [PATCH 1/4] chore(composer): Testing library should use newest version of database --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 58eff74..d3ab596 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,6 @@ }, "require-dev": { "kahlan/kahlan": "^2.4", - "illuminate/database": "=8.83.23" + "illuminate/database": "=10.29.0" } } From c4577288b720b11decc216254c83f4f630015477 Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Fri, 27 Oct 2023 13:02:02 -0700 Subject: [PATCH 2/4] fix(config): Attempt to fix circleci legacy docker containers --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3f6f35b..eafd6d6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: - run: ./vendor/bin/kahlan -reporter=verbose build_latest: docker: - - image: circleci/php:latest + - image: cimg/php:latest working_directory: ~/ReadOnlyTraitLaravel steps: # a set of executable commands - checkout @@ -34,4 +34,4 @@ workflows: jobs: - build_php_version_80 - build_php_version_81 - - build_latest \ No newline at end of file + - build_latest From 5a8caaca54eb4ceaf1f3a1aaf1b24833266c0c33 Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Fri, 27 Oct 2023 13:04:40 -0700 Subject: [PATCH 3/4] fix(config): Fix php version to > 8.1 --- .circleci/config.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index eafd6d6..5bec7cc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,15 +1,6 @@ version: 2.1 jobs: - build_php_version_80: - docker: - - image: cimg/php:8.0.20 - working_directory: ~/ReadOnlyTraitLaravel - steps: # a set of executable commands - - checkout - - run: sudo composer self-update - - run: composer install -n --prefer-dist --no-plugins - - run: ./vendor/bin/kahlan -reporter=verbose build_php_version_81: docker: - image: cimg/php:8.1.14 @@ -19,9 +10,9 @@ jobs: - run: sudo composer self-update - run: composer install -n --prefer-dist --no-plugins - run: ./vendor/bin/kahlan -reporter=verbose - build_latest: + build_php_version_82: docker: - - image: cimg/php:latest + - image: cimg/php:8.2.12 working_directory: ~/ReadOnlyTraitLaravel steps: # a set of executable commands - checkout @@ -32,6 +23,5 @@ workflows: version: 2 build: jobs: - - build_php_version_80 - build_php_version_81 - - build_latest + - build_php_version_82 From b1977a78953ee9acd31fa2408640d7c7890282c7 Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Fri, 27 Oct 2023 13:10:59 -0700 Subject: [PATCH 4/4] fix(composer): Blanket update on testing library This will probably fail... --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d3ab596..e7c2fff 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "php": ">=7.0.0" }, "require-dev": { - "kahlan/kahlan": "^2.4", + "kahlan/kahlan": "^5.2.5", "illuminate/database": "=10.29.0" } }