Skip to content

Commit 6512e3b

Browse files
committed
Renamed barcode-validator.php class
1 parent 74aa9a4 commit 6512e3b

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ be found over at [Packagist](http://packagist.org).
3838

3939
### Manually
4040

41-
1. Copy `src/barcode-validator.php` to your codebase, perhaps to the `vendor`
41+
1. Copy `src/BarcodeValidator.php` to your codebase, perhaps to the `vendor`
4242
directory.
4343
2. Add the `BarcodeValidator` class to your autoloader or `require` the file
4444
directly.

docs/classes/BarcodeValidator.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ <h2>Summary</h2>
237237

238238
<dl>
239239
<dt>File</dt>
240-
<dd><a href="../files/barcode-validator.html"><div class="path-wrapper">barcode-validator.php</div></a></dd>
240+
<dd><a href="../files/BarcodeValidator.html"><div class="path-wrapper">BarcodeValidator.php</div></a></dd>
241241
<dt>Package</dt>
242242
<dd><div class="namespace-wrapper">BarcodeValidator</div></dd>
243243
<dt>Class hierarchy</dt>
@@ -275,7 +275,7 @@ <h2>Tags</h2>
275275
license
276276
</th>
277277
<td>
278-
<p><a href="https://github.com/imelgrat/barcode-validator/blob/master/LICENSE">https://github.com/imelgrat/barcode-validator/blob/master/LICENSE</a></p>
278+
<p><a href="https://github.com/imelgrat/BarcodeValidator/blob/master/LICENSE">https://github.com/imelgrat/BarcodeValidator/blob/master/LICENSE</a></p>
279279
</td>
280280
</tr>
281281
</table>
@@ -1200,10 +1200,10 @@ <h2>Tags</h2>
12001200
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
12011201
<div class="modal-header">
12021202
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
1203-
<h3 id="source-view-label">barcode-validator.php</h3>
1203+
<h3 id="source-view-label">BarcodeValidator.php</h3>
12041204
</div>
12051205
<div class="modal-body">
1206-
<pre data-src="../files/barcode-validator.php.txt" class="language-php line-numbers"></pre>
1206+
<pre data-src="../files/BarcodeValidator.php.txt" class="language-php line-numbers"></pre>
12071207
</div>
12081208
</div>
12091209
<footer class="row-fluid">

docs/files/barcode-validator.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
</nav>
163163

164164
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
165-
<h1><small></small>barcode-validator.php</h1>
165+
<h1><small></small>BarcodeValidator.php</h1>
166166
<p><em>A PHP class for validating EAN, IMEI, ISBN, GTIN, SSCC, GSIN, UPC and other barcodes.</em></p>
167167

168168

@@ -218,7 +218,7 @@ <h2>Tags</h2>
218218
<h3 id="source-view-label"></h3>
219219
</div>
220220
<div class="modal-body">
221-
<pre data-src="../files/barcode-validator.php.txt" class="language-php line-numbers"></pre>
221+
<pre data-src="../files/BarcodeValidator.php.txt" class="language-php line-numbers"></pre>
222222
</div>
223223
</div>
224224
<footer class="row-fluid">

docs/files/barcode-validator.php.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @author Ivan Melgrati
1717
* @copyright Copyright 2018 by Ivan Melgrati
1818
* @link
19-
* @license https://github.com/imelgrat/barcode-validator/blob/master/LICENSE
19+
* @license https://github.com/imelgrat/BarcodeValidator/blob/master/LICENSE
2020
*/
2121
class BarcodeValidator
2222
{

examples/test.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Ivan Melgrati
44
* @copyright 2018
55
*/
6-
require_once ('../src/barcode-validator.php');
6+
require_once ('../src/BarcodeValidator.php');
77

88
$code = '490154203237518';
99
echo 'Is IMEI code "'.$code.'" valid? '. (BarcodeValidator::IsValidIMEI($code) ? 'true' : 'false'). '<br>';

src/barcode-validator.php renamed to src/BarcodeValidator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @author Ivan Melgrati
1616
* @copyright Copyright 2018 by Ivan Melgrati
1717
* @link
18-
* @license https://github.com/imelgrat/barcode-validator/blob/master/LICENSE
18+
* @license https://github.com/imelgrat/BarcodeValidator/blob/master/LICENSE
1919
*/
2020
class BarcodeValidator
2121
{

0 commit comments

Comments
 (0)