Skip to content

Commit

Permalink
Renamed barcode-validator.php class
Browse files Browse the repository at this point in the history
  • Loading branch information
imelgrat committed Jul 8, 2022
1 parent 74aa9a4 commit 6512e3b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ be found over at [Packagist](http://packagist.org).

### Manually

1. Copy `src/barcode-validator.php` to your codebase, perhaps to the `vendor`
1. Copy `src/BarcodeValidator.php` to your codebase, perhaps to the `vendor`
directory.
2. Add the `BarcodeValidator` class to your autoloader or `require` the file
directly.
Expand Down
8 changes: 4 additions & 4 deletions docs/classes/BarcodeValidator.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ <h2>Summary</h2>

<dl>
<dt>File</dt>
<dd><a href="../files/barcode-validator.html"><div class="path-wrapper">barcode-validator.php</div></a></dd>
<dd><a href="../files/BarcodeValidator.html"><div class="path-wrapper">BarcodeValidator.php</div></a></dd>
<dt>Package</dt>
<dd><div class="namespace-wrapper">BarcodeValidator</div></dd>
<dt>Class hierarchy</dt>
Expand Down Expand Up @@ -275,7 +275,7 @@ <h2>Tags</h2>
license
</th>
<td>
<p><a href="https://github.com/imelgrat/barcode-validator/blob/master/LICENSE">https://github.com/imelgrat/barcode-validator/blob/master/LICENSE</a></p>
<p><a href="https://github.com/imelgrat/BarcodeValidator/blob/master/LICENSE">https://github.com/imelgrat/BarcodeValidator/blob/master/LICENSE</a></p>
</td>
</tr>
</table>
Expand Down Expand Up @@ -1200,10 +1200,10 @@ <h2>Tags</h2>
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="source-view-label">barcode-validator.php</h3>
<h3 id="source-view-label">BarcodeValidator.php</h3>
</div>
<div class="modal-body">
<pre data-src="../files/barcode-validator.php.txt" class="language-php line-numbers"></pre>
<pre data-src="../files/BarcodeValidator.php.txt" class="language-php line-numbers"></pre>
</div>
</div>
<footer class="row-fluid">
Expand Down
4 changes: 2 additions & 2 deletions docs/files/barcode-validator.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
</nav>

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


Expand Down Expand Up @@ -218,7 +218,7 @@ <h2>Tags</h2>
<h3 id="source-view-label"></h3>
</div>
<div class="modal-body">
<pre data-src="../files/barcode-validator.php.txt" class="language-php line-numbers"></pre>
<pre data-src="../files/BarcodeValidator.php.txt" class="language-php line-numbers"></pre>
</div>
</div>
<footer class="row-fluid">
Expand Down
2 changes: 1 addition & 1 deletion docs/files/barcode-validator.php.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Ivan Melgrati
* @copyright Copyright 2018 by Ivan Melgrati
* @link
* @license https://github.com/imelgrat/barcode-validator/blob/master/LICENSE
* @license https://github.com/imelgrat/BarcodeValidator/blob/master/LICENSE
*/
class BarcodeValidator
{
Expand Down
2 changes: 1 addition & 1 deletion examples/test.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Ivan Melgrati
* @copyright 2018
*/
require_once ('../src/barcode-validator.php');
require_once ('../src/BarcodeValidator.php');

$code = '490154203237518';
echo 'Is IMEI code "'.$code.'" valid? '. (BarcodeValidator::IsValidIMEI($code) ? 'true' : 'false'). '<br>';
Expand Down
2 changes: 1 addition & 1 deletion src/barcode-validator.php → src/BarcodeValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @author Ivan Melgrati
* @copyright Copyright 2018 by Ivan Melgrati
* @link
* @license https://github.com/imelgrat/barcode-validator/blob/master/LICENSE
* @license https://github.com/imelgrat/BarcodeValidator/blob/master/LICENSE
*/
class BarcodeValidator
{
Expand Down

0 comments on commit 6512e3b

Please sign in to comment.