-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
273 changed files
with
1,684 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Security Policy | ||
|
||
This library has no real reason for security concerns. That being said, it does pull in dependencies from third-parties for development. In the event that a package is compromised, this document will tell you what can be done to help your situation. | ||
|
||
## Supported Versions | ||
|
||
This table lists the versions of this library that currently receive support for security fixes. | ||
|
||
| Version | Supported | | ||
| ------- | ------------------ | | ||
| `0.8.x` | ✔︎ | | ||
| `0.7.x` | 𝗫 | | ||
| `0.6.x` | 𝗫 | | ||
| `0.5.x` | 𝗫 | | ||
| `0.4.x` | 𝗫 | | ||
| `0.3.x` | 𝗫 | | ||
|
||
## Reporting a Vulnerability | ||
|
||
If you find a security vulnerability in this package, you can report it on [the official GitHub page issue tracker](https://github.com/jordanbrauer/unit-converter/issues). Typically issues are replied to within a day or two, and addressed when based on severity. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
declare(strict_types = 1); | ||
|
||
/** | ||
* This file is part of the jordanbrauer/unit-converter PHP package. | ||
* | ||
* @copyright 2018 Jordan Brauer <18744334+jordanbrauer@users.noreply.github.com> | ||
* @license MIT | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace UnitConverter\Unit\DigitalStorage; | ||
|
||
/** | ||
* Bit unit data class | ||
* | ||
* @version 1.0.0 | ||
* @since 0.8.4 | ||
* @author Laurent Clouet <https://github.com/laurent35240> | ||
*/ | ||
class Bit extends DigitalStorageUnit | ||
{ | ||
protected function configure(): void | ||
{ | ||
$this | ||
->setName("bit") | ||
|
||
->setSymbol("b") | ||
|
||
->setScientificSymbol("b") | ||
|
||
->setUnits(1); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
declare(strict_types = 1); | ||
|
||
/** | ||
* This file is part of the jordanbrauer/unit-converter PHP package. | ||
* | ||
* @copyright 2018 Jordan Brauer <18744334+jordanbrauer@users.noreply.github.com> | ||
* @license MIT | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace UnitConverter\Unit\DigitalStorage; | ||
|
||
/** | ||
* Byte unit data class | ||
* | ||
* @version 1.0.0 | ||
* @since 0.8.4 | ||
* @author Laurent Clouet <https://github.com/laurent35240> | ||
*/ | ||
class Byte extends DigitalStorageUnit | ||
{ | ||
protected function configure(): void | ||
{ | ||
$this | ||
->setName("byte") | ||
|
||
->setSymbol("B") | ||
|
||
->setScientificSymbol("B") | ||
|
||
->setUnits(8); | ||
} | ||
} |
Oops, something went wrong.