Skip to content

Commit

Permalink
Renamed to 'Splat' and bumped minimum required PHP version to 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PHLAK committed May 15, 2020
1 parent 7cbf28f commit 4fa09d6
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ tests export-ignore
.php_cs.dist export-ignore
.styleci.yml export-ignore
.travis.yml export-ignore
glob.svg export-ignore
splat.svg export-ignore
phpunit.xml export-ignore
psalm.xml export-ignore
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<p align="center">
<img src="glob.svg" alt="Glob" width="50%">
<img src="splat.svg" alt="Splat" width="50%">
</p>

<p align="center">
<a href="https://github.com/PHLAK/Glob/blob/master/LICENSE"><img src="https://img.shields.io/github/license/PHLAK/Glob?style=flat-square" alt="License"></a>
<a href="https://github.com/PHLAK/Splat/blob/master/LICENSE"><img src="https://img.shields.io/github/license/PHLAK/Splat?style=flat-square" alt="License"></a>
<a href="https://spectrum.chat/phlaknet"><img src="https://img.shields.io/badge/Join_the-Community-7b16ff.svg?style=flat-square" alt="Join our Community"></a>
<a href="https://github.com/users/PHLAK/sponsorship"><img src="https://img.shields.io/badge/Become_a-Sponsor-cc4195.svg?style=flat-square" alt="Become a Sponsor"></a>
<a href="https://paypal.me/ChrisKankiewicz"><img src="https://img.shields.io/badge/Make_a-Donation-006bb6.svg?style=flat-square" alt="One-time Donation"></a>
<a href="https://travis-ci.com/PHLAK/Glob"><img src="https://img.shields.io/travis/com/PHLAK/Glob/master?style=flat-square" alt="Build Status"></a>
<a href="https://travis-ci.com/PHLAK/Splat"><img src="https://img.shields.io/travis/com/PHLAK/Splat/master?style=flat-square" alt="Build Status"></a>
<a href="https://styleci.io/repos/1375774"><img src="https://styleci.io/repos/1375774/shield?branch=master" alt="StyleCI"></a>
</p>

Expand All @@ -18,20 +18,20 @@ Glob-like file and pattern matching utility.
Requirements
------------

- [PHP](https://www.php.net/) >= 7.0
- [PHP](https://www.php.net/) >= 7.2

Installation
------------

composer require phlak/glob
composer require phlak/splat

Usage
-------------

### Initialization

```php
use PHLAK\Utilities\Glob;
use PHLAK\Splat\Glob;

new Glob($pattern);
// or
Expand Down Expand Up @@ -175,16 +175,16 @@ Escape glob pattern characters from a string.
Changelog
---------

A list of changes can be found on the [GitHub Releases](https://github.com/PHLAK/Glob/releases) page.
A list of changes can be found on the [GitHub Releases](https://github.com/PHLAK/Splat/releases) page.

Troubleshooting
---------------

For general help and support join our [Spectrum Community](https://spectrum.chat/phlaknet) or reach out on [Twitter](https://twitter.com/PHLAK).

Please report bugs to the [GitHub Issue Tracker](https://github.com/PHLAK/Glob/issues).
Please report bugs to the [GitHub Issue Tracker](https://github.com/PHLAK/Splat/issues).

Copyright
---------

This project is licensed under the [MIT License](https://github.com/PHLAK/Glob/blob/master/LICENSE).
This project is licensed under the [MIT License](https://github.com/PHLAK/Splat/blob/master/LICENSE).
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "phlak/glob",
"name": "phlak/splat",
"description": "Glob-like pattern matching and utilities",
"type": "library",
"license": "MIT",
Expand All @@ -20,7 +20,7 @@
}
],
"require": {
"php": ">=7.0",
"php": ">=7.2",
"symfony/finder": "^5.0"
},
"require-dev": {
Expand All @@ -33,7 +33,7 @@
},
"autoload": {
"psr-4": {
"PHLAK\\Utilities\\": "src/"
"PHLAK\\Splat\\": "src/"
}
},
"autoload-dev": {
Expand Down
1 change: 0 additions & 1 deletion glob.svg

This file was deleted.

2 changes: 1 addition & 1 deletion psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.11.2@d470903722cfcbc1cd04744c5491d3e6d13ec3d9">
<files psalm-version="3.11.4@58e1d8e68e5098bf4fbfdfb420c38d563f882549">
<file src="src/Glob.php">
<ReservedWord occurrences="1">
<code>void</code>
Expand Down
1 change: 1 addition & 0 deletions splat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Glob.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace PHLAK\Utilities;
namespace PHLAK\Splat;

use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo;
Expand Down
2 changes: 1 addition & 1 deletion tests/GlobTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Tests;

use PHLAK\Utilities\Glob;
use PHLAK\Splat\Glob;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo;
Expand Down

0 comments on commit 4fa09d6

Please sign in to comment.