Skip to content

Commit

Permalink
Merge pull request #1 from ethical-jobs/release-L8-breaking-change-su…
Browse files Browse the repository at this point in the history
…pport

big update to modern package versions, many changes to tests + more
  • Loading branch information
mattwithoos committed Apr 7, 2021
2 parents e06c84a + 5f85a55 commit 85c052f
Show file tree
Hide file tree
Showing 51 changed files with 4,202 additions and 1,973 deletions.
13 changes: 0 additions & 13 deletions .drone.yml

This file was deleted.

10 changes: 2 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ name: PHPUnit suite

on:
push:
branches: [ master ]
paths:
- 'src/**'
- 'tests/**'
- 'phpunit.xml'
- 'composer.*'
pull_request:
branches: [ master ]
paths:
- 'src/**'
- 'tests/**'
Expand All @@ -19,12 +17,8 @@ on:
jobs:
phpunit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [ 7.3 ]

name: PHPUnit (PHP ${{ matrix.php }})
name: PHPUnit (PHP 7.3)

steps:
- name: Checkout code
Expand All @@ -33,7 +27,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
php-version: 7.3
extensions: dom, curl, libxml, mbstring, zip
tools: composer:v2
coverage: none
Expand Down
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
# paths
vendor/
node_modules/
storage/logs/
bootstrap/cache/
.data
.idea/

# file types
*.bak
*.hhbc
*.pid
*.log
.DS_Store

# specific files
.env
!.env.testing
invoices.csv
testlog.out
testlog.out
54 changes: 0 additions & 54 deletions CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
Storage Concepts:

## Compatibility

- `v2.*` - Laravel 8 or higher
- `v1.*` - Laravel 5.6 to 5.9. Laravel 7 support unknown

## Storage Concepts:

- `Repositories` (Maps a storage engine; elasticsearch, MySQL, Api; to an unified interface)
- `Hydrators` (Hydrates results into specific formats e.g. Eloquent models, Objects, Arrays etc...)
- `Criteria` (Specific domain based queries e.g. `Approved` `Draft`)
- `ParameterQueries` (maps url params to repository queries)

Support/requirements:
## Deprecation warning

- `v2.*` - Laravel 8 or higher
- `v1.*` - Laravel 5.6 to 5.9. Laravel 7 support unknown
All current EJ packages will be taken offline by mid-2021 in order to re-released under a single package.
30 changes: 6 additions & 24 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,18 @@
{
"name": "ethical-jobs/laravel-storage",
"type": "library",
"description": "Laravel repository storage package",
"homepage": "https://github.com/ethical-jobs/laravel-storage",
"keywords": [
"ethicaljobs",
"storage",
"repositories"
],
"license": "MIT",
"authors": [
{
"name": "EthicalJobs.com.au",
"homepage": "http://ethicaljobs.com.au"
},
{
"name": "Andrew McLagan",
"email": "andrew@ethicaljobs.com.au"
}
],
"require": {
"php": "^7.1",
"php": "^7.3",
"ethical-jobs/utilities": "^1.0",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "~6.5",
"mockery/mockery": "1.0.*",
"codedungeon/phpunit-result-printer": "^0.5.3",
"orchestra/testbench": "~3.5",
"orchestra/database": "~3.5",
"hirak/prestissimo": "^0.3.7"
"phpunit/phpunit": "^9.0",
"mockery/mockery": "^1.4",
"fakerphp/faker": "^1.13",
"orchestra/testbench": "^5.0",
"orchestra/database": "^5.1"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 85c052f

Please sign in to comment.