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

Upgrade to Laravel 10, PHPUnit 10, Button styles, External link indicator #644

Closed
wants to merge 38 commits into from

Conversation

nickdenardis
Copy link
Member

@nickdenardis nickdenardis commented Aug 18, 2023

Four changes in this release:

  1. External link indicator Feature/external icon pt 2 #640
  2. Laravel 10.x Shift Laravel 10.x Shift #641
  3. PHPUnit 10 Shift PHPUnit 10 Shift #642
  4. Button adjustments Feature/button adjustments #643

Bonus: Returns code coverage to 100%

breakdancingcat and others added 30 commits July 28, 2023 12:58
Releasing swiss army knife, profile video, external link icon, and multiple h1 removal 8.3.0
…oticed a margin issue when adding external to a button so moved the margins around to accomodate
Since PHP 5.4 the short array syntax `[]` may be used instead of `array()`.
Accessing Faker properties was deprecated in Faker 1.14.
In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them and merged your true customizations -
where ENV variables may not be used.
`<env>` tags have a lower precedence than system environment variables making it easier to overwrite PHPUnit configuration values in additional environments, such a CI.

Review this blog post for more details on configuration precedence when testing Laravel: https://jasonmccreary.me/articles/laravel-testing-configuration-precedence/
From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:

- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`

[1]: https://phpunit.de/announcements/phpunit-8.html
@nickdenardis nickdenardis added enhancement dependencies Pull requests that update a dependency file labels Aug 18, 2023
@nickdenardis nickdenardis self-assigned this Aug 18, 2023
@nickdenardis nickdenardis requested a review from a team as a code owner August 18, 2023 10:52
@nickdenardis nickdenardis temporarily deployed to build August 18, 2023 10:52 — with GitHub Actions Inactive
@coveralls
Copy link

Coverage Status

coverage: 100.0% (+0.9%) from 99.129% when pulling e3d5b0b on release/8.4.0 into ae09e5b on master.

@nickdenardis nickdenardis deleted the release/8.4.0 branch August 18, 2023 13:57
Copy link
Member

@chrispelzer chrispelzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the fix for the REDIS coming


'default' => [
'database' => 1,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this get lost or is this part of the .env now to set REDIS_DB to be 1 for the default?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to reconsile the prefix and database envs for database/cache to be database 1 due to database 0 being used by the default PHP redis

$ redis-cli
127.0.0.1:6379> keys *
1) "base_database_base_cache_:981f7afa3e31ed756f98e292d9820a622ad2ae0e"
2) "base_database_base_cache_:981f7afa3e31ed756f98e292d9820a622ad2ae0e:timer"
3) "PHPREDIS_SESSION:dgj68scnj2u75k6drnig19qfa0"
4) "base_database_base_cache_:cms.menuitems.listing80df157015b836bc8c5cc95e915ee4c1"
5) "base_database_base_cache_:cms.promotions.listingd1069900eea792fb7fd81b3ed51dc8a7"
127.0.0.1:6379> select 1
OK
127.0.0.1:6379[1]> keys *
(empty array)
127.0.0.1:6379[1]>

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catches!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants