Skip to content
This repository was archived by the owner on Aug 14, 2022. It is now read-only.

Commit 9eb500c

Browse files
committed
Updated to 1.1.2 version
1 parent 7cab0f4 commit 9eb500c

File tree

7 files changed

+29
-55
lines changed

7 files changed

+29
-55
lines changed

.gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/tests export-ignore
2-
/src/Exception export-ignore
32
.gitattributes export-ignore
43
.gitignore export-ignore
54
CHANGELOG.md export-ignore

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## 1.1.2 - 2017-07-16
4+
* Deleted `Josantonius\File\Exception\FileException` class.
5+
* Deleted `Josantonius\File\Exception\Exceptions` abstract class.
6+
* Deleted `Josantonius\File\Exception\FileException->__construct()` method.
7+
38
## 1.1.1 - 2017-03-18
49
* Some files were excluded from download and comments and readme files were updated.
510

README-ES.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,23 @@ Librería PHP para manejo de archivos.
1414
- [Métodos disponibles](#métodos-disponibles)
1515
- [Uso](#uso)
1616
- [Tests](#tests)
17-
- [Manejador de excepciones](#manejador-de-excepciones)
1817
- [Contribuir](#contribuir)
1918
- [Repositorio](#repositorio)
2019
- [Licencia](#licencia)
2120
- [Copyright](#copyright)
2221

2322
---
2423

24+
<p align="center"><strong>Echa un vistazo al código</strong></p>
25+
26+
<p align="center">
27+
<a href="" title="Echa un vistazo al código">
28+
<img src="https://raw.githubusercontent.com/Josantonius/PHP-Algorithm/master/resources/youtube-thumbnail.jpg">
29+
</a>
30+
</p>
31+
32+
---
33+
2534
### Instalación
2635

2736
La mejor forma de instalar esta extensión es a través de [composer](http://getcomposer.org/download/).
@@ -93,9 +102,6 @@ Métodos de prueba disponibles en esta librería:
93102
FileTest::testSearchString();
94103
```
95104

96-
### Manejador de excepciones
97-
98-
Esta librería utiliza [control de excepciones](src/Exception) que puedes personalizar a tu gusto.
99105
### Contribuir
100106
1. Comprobar si hay incidencias abiertas o abrir una nueva para iniciar una discusión en torno a un fallo o función.
101107
1. Bifurca la rama del repositorio en GitHub para iniciar la operación de ajuste.

README.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,23 @@ PHP library for file management.
1414
- [Available Methods](#available-methods)
1515
- [Usage](#usage)
1616
- [Tests](#tests)
17-
- [Exception Handler](#exception-handler)
1817
- [Contribute](#contribute)
1918
- [Repository](#repository)
20-
- [Licensing](#licensing)
19+
- [License](#license)
2120
- [Copyright](#copyright)
2221

2322
---
2423

24+
<p align="center"><strong>Take a look at the code</strong></p>
25+
26+
<p align="center">
27+
<a href="" title="Take a look at the code">
28+
<img src="https://raw.githubusercontent.com/Josantonius/PHP-Algorithm/master/resources/youtube-thumbnail.jpg">
29+
</a>
30+
</p>
31+
32+
---
33+
2534
### Installation
2635

2736
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
@@ -94,9 +103,6 @@ Available test methods in this library:
94103
FileTest::testSearchString();
95104
```
96105

97-
### Exception Handler
98-
99-
This library uses [exception handler](src/Exception) that you can customize.
100106
### Contribute
101107
1. Check for open issues or open a new issue to start a discussion around a bug or feature.
102108
1. Fork the repository on GitHub to start making your changes.
@@ -110,7 +116,7 @@ This is intended for large and long-lived objects.
110116

111117
All files in this repository were created and uploaded automatically with [Reposgit Creator](https://github.com/Josantonius/BASH-Reposgit).
112118

113-
### Licensing
119+
### License
114120

115121
This project is licensed under **MIT license**. See the [LICENSE](LICENSE) file for more info.
116122

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "josantonius/file",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"type": "library",
55
"description": "PHP library for file management.",
66
"keywords": [

src/Exception/FileException.php

-40
This file was deleted.

src/File.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Josantonius\File;
1313

14-
# use Josantonius\File\Exception\FileException;
15-
1614
/**
1715
* File handler.
1816
*
@@ -32,7 +30,7 @@ class File {
3230
*/
3331
public static function searchString($search, $pathfile) {
3432

35-
$file = fopen($pathfile, "r+");
33+
$file = fopen($pathfile, 'r+');
3634

3735
while(!feof($file)) {
3836

0 commit comments

Comments
 (0)