Skip to content

Commit

Permalink
Upgrade to Laravel 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Sep 14, 2020
1 parent 8b2cc66 commit ac2521f
Showing 6 changed files with 8 additions and 205 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- 7.2
- 7.3
- 7.4

31 changes: 1 addition & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ Laravel-specific and pure PHP Helper Functions.

| Laravel | Helper Functions |
| ------- | :-------------------------------------------------------------------------: |
| 8.x | [8.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/8.x) |
| 7.x | [7.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/7.x) |
| 6.x | [6.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/6.x) |
| 5.8.* | [5.8.*](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/5.8) |
@@ -85,10 +86,6 @@ Laravel-specific and pure PHP Helper Functions.
- [Json](#json)
- [is_json](#is_json)
- [Strings](#strings)
- [str_lower](#str_lower)
- [str_upper](#str_upper)
- [System](#system)
- [is_windows_os](#is_windows_os)
@@ -435,32 +432,6 @@ is_json('{"foo":1,"bar":2,"baz":3}', true);
// ["foo" => 1, "bar" => 2, "baz" => 3]
```
## Strings
#### `str_lower()`
> Deprecated, use the `Illuminate\Support\Str::lower()` instead.
Convert string to lowercase, assuming it's in the `UTF-8` encoding:
```php
str_lower('TeSt');
// "test"
```
#### `str_upper()`
> Deprecated, use the `Illuminate\Support\Str::upper()` instead.
Convert string to uppercase, assuming it's in the `UTF-8` encoding:
```php
str_upper('TeSt');
// "TEST"
```
## System
#### `is_windows_os()`
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -12,22 +12,22 @@
"email": "dmitry.g.ivanov@gmail.com"
}],
"require": {
"php": "^7.2.5",
"php": "^7.3",
"ext-dom": "*",
"ext-json": "*",
"ext-simplexml": "*",
"illuminate/support": "^7.0",
"illuminate/support": "^8.0",
"nesbot/carbon": "^2.17",
"symfony/filesystem": "^5.0",
"symfony/finder": "^5.0",
"symfony/process": "^5.0",
"symfony/var-dumper": "^5.0",
"symfony/filesystem": "^5.1",
"symfony/finder": "^5.1",
"symfony/process": "^5.1",
"symfony/var-dumper": "^5.1",
"spatie/array-to-xml": "^2.7"
},
"require-dev": {
"phpunit/phpunit": "^8.4|^9.0",
"mockery/mockery": "^1.3.1",
"illuminated/testing-tools": "^7.0"
"illuminated/testing-tools": "^8.0"
},
"autoload": {
"files": [
31 changes: 0 additions & 31 deletions src/str.php

This file was deleted.

68 changes: 0 additions & 68 deletions tests/str/StrLowerTest.php

This file was deleted.

68 changes: 0 additions & 68 deletions tests/str/StrUpperTest.php

This file was deleted.

0 comments on commit ac2521f

Please sign in to comment.